<template>
	<view class="content">
		<u-button type="primary" text="确定" @click="submit"></u-button>
		<u-button text="test" @click="test"></u-button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {

		},
		methods: {
			submit() { 
				uni.switchTab({
					url: '/pages/tracker/tracker'
				})
			},
			test(){
				console.log(this.$store.state.test)
			}
		}
	}
</script>

<style lang="scss">
	
</style>